package com.sense.common.lang;

/**
 * @Author: jiangyong
 * @Date: 2024/11/28/9:39
 * @Description:
 */
public enum BizCode implements ICode {

    USER_NOT_FOUND(8001, "用户找不到"),


    ;


    private Integer code;
    private String message;

    BizCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }
    @Override
    public String getMessage() {
        return message;
    }
}
